package com.ruoyi.period.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 可选租期管理对象 rental_period
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public class RentalPeriod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long rentalPeriodId;

    /** 可选租期 */
    @Excel(name = "可选租期")
    private String rentalPeriod;

    public void setRentalPeriodId(Long rentalPeriodId) 
    {
        this.rentalPeriodId = rentalPeriodId;
    }

    public Long getRentalPeriodId() 
    {
        return rentalPeriodId;
    }
    public void setRentalPeriod(String rentalPeriod) 
    {
        this.rentalPeriod = rentalPeriod;
    }

    public String getRentalPeriod() 
    {
        return rentalPeriod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rentalPeriodId", getRentalPeriodId())
            .append("rentalPeriod", getRentalPeriod())
            .toString();
    }
}
